package com.niuwa.p2p.dao.promotion;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.promotion.PromotionGift;
@MyBatisDao
public interface PromotionGiftMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromotionGift record);

    int insertSelective(PromotionGift record);

    PromotionGift selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PromotionGift record);

    int updateByPrimaryKey(PromotionGift record);
    
    void insertBatch(List<PromotionGift> list);
    
    List<PromotionGift> selectByPromotionID(Integer id);

}